#include<bits/stdc++.h>
using namespace std;

int main()
{
	int x;
	cin>>x;
	if(x >= 10 && x <= 99)
		cout<<1;
	else
		cout<<0;
	return 0;
}
